﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace NetPE
{
    public class BaseEditor : ContainerControl
    {
        public BaseEditor()
        {
            base.AutoScroll = true;
            base.BackgroundImageLayout = ImageLayout.None;
            base.Font = new Font("Arial", 9);
        }

        object obj;
        public object Object { get { return obj; } set { obj = value; if (obj != null) RefreshData(); } }

        protected virtual void RefreshData() { }
    }
}
